package com.xydtech.ecard.config.domain;

import com.xydtech.common.annotation.Excel;
import com.xydtech.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 电子名片业务填报类型配置积分明细对象 ecard_busi_config_list
 *
 * @author yuzhiguo
 * @date 2024-09-27 上午11:05
 */
public class EcardBusiConfigList extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 规则编号 */
    @Excel(name = "规则编号")
    private Long configId;

    /** 存款类型 */
    @Excel(name = "存款类型")
    private String dpsType;

    /** 贷款类型 */
    @Excel(name = "贷款类型")
    private String loanType;

    /** 期限 */
    @Excel(name = "期限")
    private String term;

    /** 利率下限(含) */
    @Excel(name = "利率下限(含)")
    private Long minRate;

    /** 利率上限 */
    @Excel(name = "利率上限")
    private Long maxRate;

    /** 额度下限(含) */
    @Excel(name = "额度下限(含)")
    private Long minAmt;

    /** 额度上限 */
    @Excel(name = "额度上限")
    private Long maxAmt;

    /** 社保卡类别 */
    @Excel(name = "社保卡类别")
    private String perSocialType;

    /** 产品类型 */
    @Excel(name = "产品类型")
    private String othPrdType;

    /** 积分/比例 */
    @Excel(name = "积分/比例")
    private Float nums;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setConfigId(Long configId)
    {
        this.configId = configId;
    }

    public Long getConfigId()
    {
        return configId;
    }
    public void setDpsType(String dpsType)
    {
        this.dpsType = dpsType;
    }

    public String getDpsType()
    {
        return dpsType;
    }
    public void setLoanType(String loanType)
    {
        this.loanType = loanType;
    }

    public String getLoanType()
    {
        return loanType;
    }

    public String getTerm() {
        return term;
    }

    public void setTerm(String term) {
        this.term = term;
    }

    public void setMinRate(Long minRate)
    {
        this.minRate = minRate;
    }

    public Long getMinRate()
    {
        return minRate;
    }
    public void setMaxRate(Long maxRate)
    {
        this.maxRate = maxRate;
    }

    public Long getMaxRate()
    {
        return maxRate;
    }
    public void setMinAmt(Long minAmt)
    {
        this.minAmt = minAmt;
    }

    public Long getMinAmt()
    {
        return minAmt;
    }
    public void setMaxAmt(Long maxAmt)
    {
        this.maxAmt = maxAmt;
    }

    public Long getMaxAmt()
    {
        return maxAmt;
    }

    public String getPerSocialType() {
        return perSocialType;
    }

    public void setPerSocialType(String perSocialType) {
        this.perSocialType = perSocialType;
    }

    public String getOthPrdType() {
        return othPrdType;
    }

    public void setOthPrdType(String othPrdType) {
        this.othPrdType = othPrdType;
    }

    public void setNums(Float nums)
    {
        this.nums = nums;
    }

    public Float getNums()
    {
        return nums;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("configId", getConfigId())
                .append("dpsType", getDpsType())
                .append("loanType", getLoanType())
                .append("term", getTerm())
                .append("minRate", getMinRate())
                .append("maxRate", getMaxRate())
                .append("minAmt", getMinAmt())
                .append("maxAmt", getMaxAmt())
                .append("perSocialType", getPerSocialType())
                .append("othPrdType", getOthPrdType())
                .append("nums", getNums())
                .append("remark", getRemark())
                .toString();
    }
}
